﻿using QFramework;

namespace HKTools
{
    public class CMD_TCP_StartServer : AbstractCommand
    {
        int port;

        public CMD_TCP_StartServer(int port)
        {
            this.port = port;
        }

        protected override void OnExecute()
        {
            IHK_TcpServerSystem tcpServerSystem = this.GetSystem<IHK_TcpServerSystem>();
            tcpServerSystem.StartServer(port);
        }
    }
}